package asava.trees;

import asava.names.Name;

/**
 * @author Tim Richter
 */
public final class Ident extends Tree {
    public Name name;

    public Ident(final Name name) {
        this.name = name;
    }

    @Override
    public int kind() {
        return TreeKind.IDENT;
    }

    @Override
    public void accept(final TreeVisitor visitor) {
        visitor.visit(this);
    }
}
